//引入事件发布对象
import {EventEmitter} from 'events'
//新建事件发布对象  
const eventEmitter=new EventEmitter()

//将此对象抛出
export default eventEmitter;